﻿namespace Batman.Cms.Core.Models.UpYun
{
    public class UpYunUploadResult
    {
        /// <summary>
        /// 是否上传成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 上传后的图片地址
        /// </summary>
        public string Url { get; set; }

        public UpYunUploadResult() { }

        public UpYunUploadResult(bool success, string url)
        {
            Success = success;
            Url = url;
        }

    }
}
